﻿using System;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using SqlSugar;

namespace Aioms.Models
{
    ///<summary>
    /// 巡检点的巡检项结果
    ///</summary>
    [SugarTable("inspection_point_option_result")]
    public class InspectionPointOptionResult
    {
        public InspectionPointOptionResult()
        {
            this.Created = DateTime.Now;
            this.Updated = DateTime.Now;
        }

        /// <summary>
        /// 主键ID
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
        public int Id { get; set; }

        /// <summary>
        /// Desc:企业id
        /// Default:
        /// Nullable:True
        /// </summary>     
        [SugarColumn(ColumnName = "eid")]
        public int Eid { get; set; }

        /// <summary>
        /// 工单ID
        /// </summary> 
        [SugarColumn(ColumnName = "woid")]
        public int Woid { get; set; }

        /// <summary>
        /// 巡检路线ID
        /// </summary> 
        [SugarColumn(ColumnName = "ilid")]
        public int Ilid { get; set; }

        /// <summary>
        /// Desc:巡检点id
        /// Default:
        /// Nullable:True
        /// </summary> 
        [SugarColumn(ColumnName = "ipid")]
        public long Ipid { get; set; }

        /// <summary>
        /// Desc:巡检项id
        /// Default:
        /// Nullable:True
        /// </summary> 
        //[SugarColumn(ColumnName = "ipoid")]
        //public int Ipoid { get; set; }

        /// <summary>
        /// Desc:巡检步骤
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "result", ColumnDataType = "text")]
        public string Result { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>    
        [SugarColumn(ColumnName = "created")]
        public DateTime Created { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>     
        [SugarColumn(ColumnName = "updated")]
        public DateTime Updated { get; set; }

    }
}
